Fix heroku documentation

Since #1040 .env.example needs to be copied to .env before bundling

Dominik Sander преди 8 години
родител
ревизия
351d4817b1
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      app/views/devise/registrations/new.html.erb
  2. 1 1
      doc/heroku/install.md

+ 1 - 1
app/views/devise/registrations/new.html.erb

@@ -21,8 +21,8 @@
21 21
                 <%= content_tag :pre do -%>
22 22
 heroku git:clone --app <%= content_tag :var, app_name %>
23 23
 cd <%= content_tag :var, app_name %>
24
-bundle
25 24
 cp .env.example .env
25
+bundle
26 26
 bin/setup_heroku
27 27
 <%- end %>
28 28
 

+ 1 - 1
doc/heroku/install.md

@@ -15,7 +15,7 @@ If you still wish to use the Heroku free plan (which won't work very well), plea
15 15
 ## Instructions
16 16
 
17 17
 * Install the [Heroku Toolbelt](https://toolbelt.heroku.com/) and then run `heroku login`
18
-* Go into your huginn directory and run `bundle`
18
+* Go into your huginn directory and run `cp .env.example .env && bundle`
19 19
 * Now, run the magic setup wizard: `bin/setup_heroku`
20 20
 * That's it!
21 21
 * If you make changes, you can re-run `bin/setup_heroku`, or just do `git push heroku master`.